//
//  EMRefreshHeader.m
//  EasyMoney
//
//  Created by 邓乐 on 2020/1/20.
//  Copyright © 2020 zh. All rights reserved.
//

#import "EMRefreshHeader.h"

@implementation EMRefreshHeader

- (void)prepare
{
    [super prepare];
    self.lastUpdatedTimeLabel.hidden = YES;
    /*
     "MJRefreshHeaderIdleText" = "下拉可以刷新";
     "MJRefreshHeaderPullingText" = "松开立即刷新";
     "MJRefreshHeaderRefreshingText" = "正在刷新数据中...";*/
    [self setTitle:NSLocalizedString(@"下拉可以刷新", nil) forState:MJRefreshStateIdle];
    [self setTitle:NSLocalizedString(@"松开立即刷新", nil) forState:MJRefreshStatePulling];
    [self setTitle:NSLocalizedString(@"正在刷新数据中", nil) forState:MJRefreshStateRefreshing];
}

@end
